[This is preliminary documentation and subject to change.]
The GetAllContent method retrieves all of the HTML content strings from the Content Schedule file and writes them directly to the Web page as a list with an <HR> tag after each entry.
This method is typically used during authoring, to proofread the Content Schedule file.
GetAllContent(content-schedule-path)
This parameter can be specified either as a relative or virtual path. For example, if the Content Schedule file, Content.txt, and the .asp file that called GetAllContent both resided in the directory /MyApp/Tips/, where MyApp is a virtual root on the server, then either the full virtual path (/MyApp/Tips/Content.txt) or the relative path (Content.txt) could be specified for content-schedule-path.
The Content Rotator component calls the Server.MapPath method to map the specified path to a physical directory. For more information, see the Object Reference in the Active Server Pages documentation.
None.
The Registry Access component uses the Response.Write method to write output directly to the .asp page that called the GetAllContent method. For more information, see the Object Reference in the Active Server Pages documentation.
<H1>Tips Stored in the Content Schedule File:</H1> <% Set Tips = Server.CreateObject("IISSample.ContentRotator") Tips.GetAllContent("/Tips/Content.txt") %>
<H1>Tips Stored in the Content Schedule File:</H1> <HR> Don't run with scissors.
<HR> <FONT FACE="ARIAL,HELVETICA" SIZE="2"> Let a <H1>smile</H1> be your umbrella. </FONT>
<HR> <IMG SRC="/images/happy.gif"> <HR> Here's the <A HREF="secret.asp">secret link.</A> <HR>